Conditions | 5 |
Paths | 3 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | var DefaultHandlers = [ |
||
50 | object: function (value, expanded) { |
||
51 | if (value === null) { |
||
52 | return '<null>' |
||
53 | } |
||
54 | if (typeof value.toString === 'function' && DefaultHandlers.indexOf(value.toString) === -1 && !expanded) { |
||
55 | return value.toString() |
||
56 | } |
||
57 | return JSON.stringify(value) |
||
58 | } |
||
59 | } |
||
64 |